import type { RoleItemType } from '@/types/api/role'
import Request from '@/utils/request'

// 获取全部角色列表
export const getAllRolesApi = () => {
  return Request.Get<RoleItemType[]>({
    url: '/roles'
  })
}
